package Submarine;

import javax.swing.*;

public class AirSupportPlane extends SeaObject {
    public AirSupportPlane() {
        super(641+65, 60, 3, 64, 32);
    }

    @Override
    public void move() {
        x -= speed;
    }

    public ImageIcon getImage() {
        return Images.AirSupport;
    }

    public Amor shootamor(){return new Amor(x-width/2,y);}

    public boolean isOutofBounds(){return x < -this.width;}
}

